package com.jie.lanxin.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AiImageDTO {

    private int code;
    private String msg;
    private Result result;

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Result {
        private boolean finished;
        private List<String> imagesGaiaKey;
        private ImagesInfo imagesInfo;
        private List<String> imagesUrl;
        private int queueAhead;
        private int status;
        private int taskEta;
    }

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class ImagesInfo {
        private String prompt;
    }
}
